package com.tedu.dict.mapper;


import com.tedu.dict.pojo.dto.DictQuery;
import com.tedu.dict.pojo.entity.Dict;
import com.tedu.dict.pojo.vo.DictVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DictMapper {

    List<DictVO> selectDict(DictQuery dictQuery);

    void insert(Dict dict);

    void update(Dict dict);

    void deleteById(Long id);
}
